export default {
  getIdCardByLocal:{//本地解析身份证
    url: '/core/accessToken/getIdCardByLocal',
    require:['token','clientid','path']
  },
  getIdCardByWeb:{//线上解析身份证
    url: '/core/accessToken/getIdCardByWeb',
    require: ['token','clientid','url'],
  },
  getLatestToken:{//获取最新token值
    url:'/core/accessToken/getLatestToken',
    require:['token','clientid']
  },
  getUserAuthenticationList:{//获取所有身份验证的列表
    url:'/core/userAuthentication/list',
    require:['token','clientid']//state=0时未验证,fileTypeId
  },
  userAuthenticationSuccess:{//用户身份验证成功,idCardNum(选)、idCardName(选)、sex(选)、data(选)、resultDesc(选)
    url: '/core/userAuthentication/success',
    require:['token','clientid','userId']
  },
  userAuthenticationFail:{//用户身份验证成功,idCardNum(选)、idCardName(选)、sex(选)、data(选)、resultDesc(选)
    url: '/core/userAuthentication/fail',
    require:['token','clientid','userId']
  },
  getUserAuthentication:{//获取用户身份验证参数
    url: '/core/userAuthentication/get',
    require:['token','clientid']//userId,id
  },
  submitAccessToken:{//确定身份验证
    url: '/core/accessToken/submit',
    require:['token','clientid','idCardName','idCardNum','baiduOcrId']
  },
}
